package cn.ecms.service.impl.customerdynamicmanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customerdynamicmanager.DynamictTypeMapper;
import cn.ecms.pojo.DynamictType;
import cn.ecms.service.customerdynamicmanager.DynamicTypeService;

@Service
public class DynamicTypeServiceImpl implements DynamicTypeService {

	@Autowired
	private DynamictTypeMapper dynamictTypeMapper;
	
	@Override
	public int deleteByPrimaryKey(String dynamictypeId) {
		return dynamictTypeMapper.deleteByPrimaryKey(dynamictypeId);
	}

	@Override
	public int insert(DynamictType record) {
		return dynamictTypeMapper.insert(record);
	}

	@Override
	public int insertSelective(DynamictType record) {
		return dynamictTypeMapper.insertSelective(record);
	}

	@Override
	public DynamictType selectByPrimaryKey(String dynamictypeId) {
		return dynamictTypeMapper.selectByPrimaryKey(dynamictypeId);
	}

	@Override
	public int updateByPrimaryKeySelective(DynamictType record) {
		return dynamictTypeMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(DynamictType record) {
		return dynamictTypeMapper.updateByPrimaryKey(record);
	}

}
